Skip to content

Conversation

timbaileyjones
Copy link

Classic = used in conditional where comparison == was intended.

I tried the example and ran into:

SyntaxError: cannot assign to attribute here. Maybe you meant '==' instead of '='?

This fixes that.

Classic `=` used in conditional where comparison `==` was intended.

I tried the example and ran into:
```
SyntaxError: cannot assign to attribute here. Maybe you meant '==' instead of '='?
```

This fixes that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant